/**
 * @file	ElementFactory.h
 * @brief	Using factory pattern to create elements.
 * @author	Shaokp
 * @date	2010-11-25
 * @version	0.1
 */

#ifndef ELEMENTFACTORY_H
#define ELEMENTFACTORY_H
#include "Element.h"
class Module;
class Path;

class ElementFactory
{
public:
	static Element* createElement(int type,std::string &name);
private:
	ElementFactory();
	ElementFactory(const ElementFactory &rhs);
};
#endif
